use_frameworks!
platform :ios, '11.0'


# Import CocoaPods sources
source 'https://github.com/CocoaPods/Specs.git'

target 'EaseIM' do

    pod 'MBProgressHUD'
    pod 'Masonry'
    pod 'MJRefresh'
#    pod 'SDWebImage'
    pod 'FMDB' 
    
#    HyphenateChat_Circle (3.9.9.1)
pod 'HyphenateChat' , '4.5.0'
#pod 'HyphenateChat' , '4.6.1'
    #pod 'EaseIMKit'
    pod 'EaseIMKit',  :path => "../local_pods/EaseIMKit"

    
    pod 'AgoraRtcEngine_iOS','3.6.1.2'
    #pod 'EaseCallKit',  :path => "../../EaseCallKit/easecallkitui-ios"
    pod 'EaseCallKit'

    pod 'Bugly'
    pod 'EMTranslate'
    
end

#post_install do |installer|
#    installer.pods_project.targets.each do |target|
#        target.build_configurations.each do |config|
#            config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
#        end
#    end
#end


#post_install do |installer|
#  installer.pods_project.build_configurations.each do |config|
#    config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
#  end
#end
post_install do |installer|
  installer.generated_projects.each do |project|
    project.targets.each do |target|
      target.build_configurations.each do |config|
          config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = "11.0"
#            config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
       end
    end
  end
end
